package sctu.edu.java.year2016.team07.wenjia.day20160523.nothing;

/**
 * Created by 001 on 2016/5/23.
 */
public class Kong {
    public static void main(String[]args){
        int c=5;
        System.out.println("打印菱形是：\n");
        for(c=1;c<=5;c++){
            if(c==1||c==5){
                System.out.println("     *");
            }
            else if(c==2||c==4) {
                System.out.println("  *     *");
            }
            else
                System.out.println("*         *");
        }
    }
}


